<template>
	<view>
		<view class="con">
			<view class="con-header">
				<view class="base_user">
					<view class="base_user_img"><image src="https://uc-avatar-cn.heytapimage.com/titans-usercenter-avatar-bucket-cn/default-new.png"></image></view>
					<view class="base_user_detail">
						<view class="base_user_detail_1">
							<span class="user_name">{{name}}</span>
							<span class="user_edit" @click="showmodel"><image src=""></image></span>
						</view>
					</view>
				</view>
			</view>
			
			<view class="order-wrapper">
				<view class="order_contain">
					<view class="order_list">
						<view class="order_item">
							<view class="order_icon"><image src="../../image/下载.png"></image></view>
						</view>
						<view class="order_inner">
							<view class="inner_title" style="font-weight: bold; font-size: 30rpx;">账号密码</view>
							<view class="inner_desc" style="font-size: 20rpx;">用于保护账号安全</view>
						</view>
					</view>
					
					<view class="order_list">
						<view class="order_item">
							<view class="order_icon"><image src="../../image/安全手机.png"></image></view>
						</view>
						<view class="order_inner">
							<view class="inner_title" style="font-weight: bold; font-size: 30rpx;">安全手机</view>
							<view class="inner_desc" style="font-size: 20rpx;">安全手机可用于登录账号，重置密码或其他安全操作</view>
						</view>
					</view>
					
					<view class="order_list">
						<view class="order_item">
							<view class="order_icon"><image src="../../image/安全邮箱.png"></image></view>
						</view>
						<view class="order_inner">
							<view class="inner_title" style="font-weight: bold; font-size: 30rpx;">安全邮箱</view>
							<view class="inner_desc" style="font-size: 20rpx;">安全邮箱可用于登录账号，重置密码或其他安全操作</view>
						</view>
					</view>
					
					<view class="order_list">
						<view class="order_item">
							<view class="order_icon"><image src="../../image/紧急联系人.png"></image></view>
						</view>
						<view class="order_inner">
							<view class="inner_title" style="font-weight: bold; font-size: 30rpx;">紧急联系人</view>
							<view class="inner_desc" style="font-size: 20rpx;">能在找回密码过程中加强验证，让账号更安全</view>
						</view>
					</view>
					
					<view class="order_list">
						<view class="order_item">
							<view class="order_icon"><image src="../../image/实名认证.png"></image></view>
						</view>
						<view class="order_inner">
							<view class="inner_title" style="font-weight: bold; font-size: 30rpx;">实名认证</view>
							<view class="inner_desc" style="font-size: 20rpx;">实名认证可以完善您的账号信息安全</view>
						</view>
					</view>
					
					<view class="order_list">
						<view class="order_item">
							<view class="order_icon"><image src="../../image/我的信息.png"></image></view>
						</view>
						<view class="order_inner">
							<view class="inner_title" style="font-weight: bold; font-size: 30rpx;">我的信息</view>
							<view class="inner_desc" style="font-size: 20rpx;">管理修改您的账号信息</view>
						</view>
					</view>
					
					<view class="order_list">
						<view class="order_item">
							<view class="order_icon"><image src="../../image/授权管理.png"></image></view>
						</view>
						<view class="order_inner">
							<view class="inner_title" style="font-weight: bold; font-size: 30rpx;">授权管理</view>
							<view class="inner_desc" style="font-size: 20rpx;">可以查看并管理您的账号的授权情况</view>
						</view>
					</view>
					
					<view class="order_list">
						<view class="order_item">
							<view class="order_icon"><image src="../../image/三方账号绑定.png"></image></view>
						</view>
						<view class="order_inner">
							<view class="inner_title" style="font-weight: bold; font-size: 30rpx;">三方账号绑定</view>
							<view class="inner_desc" style="font-size: 20rpx;">绑定三方账号可以快捷登录</view>
						</view>
					</view>
					
					<view class="order_list">
						<view class="order_item">
							<view class="order_icon"><image src="../../image/个人数据管理.png"></image></view>
						</view>
						<view class="order_inner">
							<view class="inner_title" style="font-weight: bold; font-size: 30rpx;">个人数据管理</view>
							<view class="inner_desc" style="font-size: 20rpx;">可以查询、删除您的账号相关的个人信息或注销您的账号</view>
						</view>
					</view>
					
					<view class="order_list">
						<view class="order_item">
							<view class="order_icon"><image src="../../image/退出账号.png"></image></view>
						</view>
						<view class="order_inner">
							<view class="inner_title" style="font-weight: bold; font-size: 30rpx;">退出账号</view>
							<view class="inner_desc" style="font-size: 20rpx;"></view>
						</view>
					</view>
					
					
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	let data = null;
	
	export default {
		data() {
			return {
				name:"夏普"
			}
		},
		
		methods: {
			showmodel(){
				data = this;
				uni.showModal({
					title:"修改昵称",
					editable:true,
					placeholderText:data.name ,
					
					success(res) {
						data.name = res.content
					}
				})
				this.name = data.name
			}
		}
	}
</script>

<style>
.con{
	background-color: #fff;
	padding: 100rpx;
}
.base_user{
	display: flex;
	justify-content: flex-start;
}
.base_user_img{
	width: 125rpx;
	height: 125rpx;
	margin-right: 10rpx;
	
}
.base_user_img image{
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 10%;
}
.base_user_detail_1{
	padding-left: 10rpx;
}
.user_name{
	
	font-size: 30rpx;
	line-height: 1;
}
.user_edit{
	background-repeat: no-repeat;
	width: 20rpx;
	height: 20rpx;
	margin-left: 30rpx;
/* 	transition: opacity .34s cubic-bezier(0,0,.2,1) 0s; */
}
.user_edit image{
	margin-left: -20rpx;
	width: 25rpx;
	height: 25rpx;
	background-repeat: no-repeat;
}
.user_desc{
	font-size: .20rpx;
	padding-top: 10rpx;
	line-height: 1;
}
.order-wrapper{
	display: block;
}
.order_contain{
	display: block;
}
.order-wrapper{
	padding-top: 50rpx;
}
.order_list{
	display: flex;
	border-bottom: 1px solid #eee;
	height: 150rpx;
	/* padding-top: 30rpx; */
	justify-content: flex-start;
}
.order_item{
	display: flex;
	align-items: center;
}
.order_icon{
	
}
.order_icon image{
	width: 50rpx;
	height: 50rpx;
	background-repeat: no-repeat;
}
.order_inner{
	padding-left: 15rpx;
	display: flex;
	flex-direction: column;
	justify-content: center;
	/* flex-wrap: wrap; */
}
.inner_title{
	display: flex;
	flex-wrap: wrap;
}
</style>
